package com.huitone.smspfm.interfacz.core.filewriter;

import com.bin.common.utils.StringUtils;

public class RedUserReportWriter extends FileWriterClient implements CuttingFileConfig.CreateName{

	private RedUserReportWriter(){}
	
	public  static RedUserReportWriter getFileWriterClient(String filePath,String fileName,CuttingFileConfig nameConfig) {	
		if( ! StringUtils.isEmpty(filePath) && ! StringUtils.isEmpty(fileName) && nameConfig != null){
			RedUserReportWriter client = new RedUserReportWriter();
			client.filePath = filePath;
			client.fileName = fileName;
			client.nameConfig = nameConfig;
			client.init();			
			return client;
		} else {
			return null;
		}
	}


	@Override
	public String createFileName(String time) {
		// TODO Auto-generated method stub
		return null;
	}
}
